package com.googlecode.theta.server;

public class ScriptHelper {
  private final ScriptEngine engine;
  private final String scriptBase;

  public ScriptHelper(ScriptEngine engine, String scriptBase) {
    this.engine = engine;
    this.scriptBase = scriptBase;
  }

  public void include(String fileName) {
    engine.run(scriptBase + "/" + fileName);
  }
}
